package uk.ac.cam.juliet.zedcat.db;

import java.sql.Timestamp;

/*
 * Sighting.java
 * 
 * Represents an sighting record as held in the database.
 */

public class Sighting {

	String actionID; // ID of each area
	String sightingID; // Unique sighting identifier.
	boolean eventEntry; // True if entry. False if exit.
	Timestamp time; // Time of the sighting.
	String snapshotURL; // Twitpic URL.
	private int hotspotID;
	
	public Sighting(String actionID, int hotspotID, String sightingID, boolean eventEntry, Timestamp time, String snapshotURL) {
		this.actionID = actionID;
		this.sightingID = sightingID;
		this.eventEntry = eventEntry;
		this.time = time;
		this.hotspotID = hotspotID;
		this.snapshotURL = snapshotURL;
	}

	public String getActionID() {
		return actionID;
	}

	public String getSightingID() {
		return sightingID;
	}

	public boolean isEventEntry() {
		return eventEntry;
	}

	public Timestamp getTime() {
		return time;
	}
	
	public String getSnapshotURL() {
		return snapshotURL;
	}

	int getHotspotID() {
		return hotspotID;
	}
	
}
